<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
		function Humans(){
			this.clothing=["trousersers","dress","jacket"];
		}
		function Man(){
			
		}
		Man.prototype=new Humans();
		var man1=new Man();
		man1.clothing.push("coat");
		alert(man1.clothing);
		var man2=new Man();
		alert(man2.clothing);
		</script>
	</body>
</html>
